Fix translator comments
authorPiotr Drąg <piotrdrag@gmail.com>
Sat, 28 Jan 2017 00:10:12 +0000 (01:10 +0100)
committerPiotr Drąg <piotrdrag@gmail.com>
Sat, 28 Jan 2017 00:13:12 +0000 (01:13 +0100)
They need to be exactly one line above a string to show up in .po files.

gtk/gtkfilechooserwidget.c
modules/printbackends/cups/gtkprintbackendcups.c

index 77727be3b41cba0d0a0df138246df00471d8c872..51c1dcf18b0e8055964d6609cda75b3b023c0ae5 100644 (file)
@@ -4771,12 +4771,12 @@ my_g_format_date_for_display (GtkFileChooserWidget *impl,
                                     0, 0, 0);
   days_ago = g_date_time_difference (now_date, date) / G_TIME_SPAN_DAY;
 
-  /* Translators: see g_date_time_format() for details on the format */
   if (days_ago < 1)
     {
       if (priv->show_time)
         format = "";
       else if (clock_format == CLOCK_FORMAT_24)
+        /* Translators: see g_date_time_format() for details on the format */
         format = _("%H:%M");
       else
         format = _("%l:%M %p");
index 2056434beaea051bd09cdc14692696662904a8a8..9d23bc10113d3ef4f2d7cf1e6ff7fa3f8b385642 100644 (file)
@@ -5425,10 +5425,10 @@ cups_printer_get_options (GtkPrinter           *printer,
         "topsecret",
         "unclassified"
       };
-      /* Translators, these strings are names for various 'standard' cover
-       * pages that the printing system may support.
-       */
       char *cover_display_default[] = {
+        /* Translators, these strings are names for various 'standard' cover
+         * pages that the printing system may support.
+         */
         NC_("cover page", "None"),
         NC_("cover page", "Classified"),
         NC_("cover page", "Confidential"),
@@ -5701,8 +5701,8 @@ cups_printer_get_options (GtkPrinter           *printer,
   cupsFreeOptions (num_opts, opts);
 
 #ifdef HAVE_COLORD
-  /* TRANSLATORS: this this the ICC color profile to use for this job */
   option = gtk_printer_option_new ("colord-profile",
+                                   /* TRANSLATORS: this this the ICC color profile to use for this job */
                                    C_("printer option", "Printer Profile"),
                                    GTK_PRINTER_OPTION_TYPE_INFO);